﻿using System;

namespace JiaBao.Services.LogService
{
    public static class Log
    {
        public static void SaveLog(Exception ex)
        {

            SqlHelper.ExecuteDataTable("insert into Log_Z (Message)values(@m)", new System.Data.SqlClient.SqlParameter("m", ex.StackTrace + ";" + ex.Message));
        }
    }
}
